<template>
	<div class="content_box">
		<div class="content" v-for="(item, index) in message" :key="index">
			<div class="content_top">第{{ index + 1 }}次会议</div>
			<reviewInfo :message="item" :routerData="routerData" :appInfo="appInfo" />
		</div>
	</div>
</template>

<script lang="ts" setup>
import { toRefs, defineProps } from 'vue';
import reviewInfo from './reviewInfo.vue';

const props = defineProps({
	message: {
		type: Object,
		default: () => {
			return {};
		},
	},
	//是否为意见上传
	routerData: {
		type: Object,
		default: () => {
			return {};
		},
	},
	//基础信息
	appInfo: {
		type: Object,
		default: () => {
			return {};
		},
	},
});

const { message, routerData, appInfo } = toRefs(props);
</script>

<style lang="scss" scoped>
.content_box {
	margin-top: 10px;

	.content {
		margin-top: 10px;
		background-color: #fff;
		padding: 20px;
		.content_top {
			margin-bottom: 10px;
		}
	}
}
</style>
